package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author Jozu
 * @since 2024/9/4 14:23
 */
@Data
public class MaintainBatchSecondCollectionRequest {
    @ApiModelProperty(value = "藏品id",required = true)
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

    @ApiModelProperty(value = "购买数量",required = true)
    @Max(value = 10,message = "最大单次购买数量为10")
    private Integer num;

    @ApiModelProperty(value = "选中的市值账号用户id",required = true)
    @NotNull(message = "市值账号用户id不能为空")
    private Long checkedUserId;

    @ApiModelProperty(value = "底价")

    private BigDecimal lowPrice;


    @ApiModelProperty(value = "上限价")
    private BigDecimal highPrice;
}
